/**
 * @author Kaufmann Daniel
 *
 * 21.04.2011
 * DietaryParameter.java
 */

package at.fhv.easyDietWeb.shared.db.diet;

import java.util.Date;

import at.fhv.easyDietWeb.shared.db.bls.NutritionalValueName;
import at.fhv.easyDietWeb.shared.db.bls.WHOparams;

import com.google.gwt.user.client.rpc.IsSerializable;

/**
 * information:
 * represents the table DietaryParameter on the database
 */
public class DietaryParameter implements IsSerializable
{
	private int _dietaryParameterId;
	private String _description;
	private NutritionalValueName _nutritionalValueName;
	private String _actualValue;
	private String _targetValue;
	private String _upperLimit;
	private String _lowerLimit;
	private String _upperLimitTarget;
	private String _lowerLimitTarget;
	private boolean _isTargetParameter;
	private int _calculationMethod;
	private Plan _plan;
	private LabResult _labResult;
	private ParameterDefinition _parameterDefinition;
	private WHOparams _whoParams;
	private Therapy _therapy;
	private String _comment;
	private String _strength;
	private Date _startDate;
	private Date _endDate;
	private String _calcMethod;
	private String _viewType;
	private String _referenceMeasurements;
	private String _scalingFactor;

	public void setDietaryParameterId(int dietaryParameterId)
	{
		_dietaryParameterId = dietaryParameterId;
	}

	public int getDietaryParameterId()
	{
		return _dietaryParameterId;
	}

	public void setDescription(String description)
	{
		_description = description;
	}

	public String getDescription()
	{
		return _description;
	}

	public void setLowerLimit(String lowerLimit)
	{
		_lowerLimit = lowerLimit;
	}

	public String getLowerLimit()
	{
		return _lowerLimit;
	}

	public void setLabResult(LabResult labResult)
	{
		_labResult = labResult;
	}

	public LabResult getLabResult()
	{
		return _labResult;
	}

	public void setActualValue(String actualValue)
	{
		_actualValue = actualValue;
	}

	public String getActualValue()
	{
		return _actualValue;
	}

	public void setUpperLimit(String upperLimit)
	{
		_upperLimit = upperLimit;
	}

	public String getUpperLimit()
	{
		return _upperLimit;
	}

	public void setUpperLimitTarget(String upperLimitTarget)
	{
		_upperLimitTarget = upperLimitTarget;
	}

	public String getUpperLimitTarget()
	{
		return _upperLimitTarget;
	}

	public void setLowerLimitTarget(String lowerLimitTarget)
	{
		_lowerLimitTarget = lowerLimitTarget;
	}

	public String getLowerLimitTarget()
	{
		return _lowerLimitTarget;
	}

	public void setIsTargetParameter(boolean isTargetParameter)
	{
		_isTargetParameter = isTargetParameter;
	}

	public boolean getIsTargetParameter()
	{
		return _isTargetParameter;
	}

	public void setCalculationMethodId(int calculationMethod)
	{
		_calculationMethod = calculationMethod;
	}

	public int getCalculationMethodId()
	{
		return _calculationMethod;
	}

	public void setParameterDefinition(ParameterDefinition parameterDefinition)
	{
		_parameterDefinition = parameterDefinition;
	}

	public ParameterDefinition getParameterDefinition()
	{
		return _parameterDefinition;
	}

	public void setTherapy(Therapy therapy)
	{
		_therapy = therapy;
	}

	public Therapy getTherapy()
	{
		return _therapy;
	}

	public void setPlan(Plan plan)
	{
		_plan = plan;
	}

	public Plan getPlan()
	{
		return _plan;
	}

	public void setNutritionalValueName(NutritionalValueName nutritionalValueName)
	{
		_nutritionalValueName = nutritionalValueName;
	}

	public NutritionalValueName getNutritionalValueName()
	{
		return _nutritionalValueName;
	}

	public void setWhoParams(WHOparams whoParams)
	{
		_whoParams = whoParams;
	}

	public WHOparams getWhoParams()
	{
		return _whoParams;
	}

	public void setTargetValue(String targetValue)
	{
		_targetValue = targetValue;
	}

	public String getTargetValue()
	{
		return _targetValue;
	}

	public void setComment(String comment)
	{
		_comment = comment;
	}

	public String getComment()
	{
		return _comment;
	}

	public void setStrength(String strengthString)
	{
		_strength = strengthString;
	}

	public String getStrength()
	{
		return _strength;
	}

	public void setStartDate(Date creationDate)
	{
		_startDate = creationDate;

	}

	public Date getStartDate()
	{
		return _startDate;
	}

	public void setEndDate(Date endDate)
	{
		_endDate = endDate;

	}

	public Date getEndDate()
	{
		return _endDate;
	}

	public void setCalcMethod(String valueAt)
	{
		_calcMethod = valueAt;

	}

	public String getCalcMethod()
	{
		return _calcMethod;
	}

	public void setViewType(String valueAt)
	{
		_viewType = valueAt;
	}

	public String getViewType()
	{
		return _viewType;
	}

	public void setReferenceMeasurements(String valueAt)
	{
		_referenceMeasurements = valueAt;

	}

	public String getReferenceMeasurements()
	{
		return _referenceMeasurements;
	}

	public void setScalingFactor(String valueAt)
	{
		_scalingFactor = valueAt;

	}

	public String getScalingFactor()
	{
		return _scalingFactor;
	}
}
